﻿


function ValidData() {

    var txtRoleName = document.getElementById(mstrControlProfix + "txtRoleName");


    if (txtRoleName.value == "") {
        alert("用户帐号不能为空。");
        txtRoleName.focus();
        return false;
    }
}